texture: Add sanity checks to constructors
authorBenjamin Otte <otte@redhat.com>
Fri, 2 Feb 2018 13:58:39 +0000 (14:58 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 2 Feb 2018 13:59:23 +0000 (14:59 +0100)
commit38b25599d8834ca2cca72ac2f86117b13b22c942
tree182c0d7aaffacc7fab35163d08667041c6aad458
parentdf0b4d668464b05b2be5c671195a0568d846589f
texture: Add sanity checks to constructors

width, height and GL texture ID may not be 0, so return_if_fail() if
they are.
gdk/gdktexture.c